package com.lq.demo.demo.netty.protocol;

import lombok.Data;

import static com.lq.demo.demo.netty.protocol.Command.LOGIN_REQUEST;

/**
 * @Auther: LQ
 * @Date: 2018/11/2 20:45
 * @Description:
 */
@Data
public class LoginRequestPacket extends Packet {
    private Integer userId;

    private String username;

    private String password;

    @Override
    public Byte getCommand() {
        return LOGIN_REQUEST;
    }
}